local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1
L0_1 = {}
L0_1.group_id = 201015002
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2004
L2_1.monster_id = 21010501
L3_1 = {}
L3_1.x = 33.711
L3_1.y = 0.457
L3_1.z = -3.778
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 3
L2_1.disableWander = true
L2_1.pose_id = 32
L3_1 = {}
L3_1.config_id = 2005
L3_1.monster_id = 21010401
L4_1 = {}
L4_1.x = 65.878
L4_1.y = 3.882
L4_1.z = 0.483
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 90.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.disableWander = true
L3_1.pose_id = 402
L4_1 = {}
L4_1.config_id = 2006
L4_1.monster_id = 21010501
L5_1 = {}
L5_1.x = 67.745
L5_1.y = 3.882
L5_1.z = 2.065
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 90.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.disableWander = true
L4_1.pose_id = 32
L5_1 = {}
L5_1.config_id = 2007
L5_1.monster_id = 21010401
L6_1 = {}
L6_1.x = 65.543
L6_1.y = 3.882
L6_1.z = 3.631
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 90.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L5_1.pose_id = 402
L6_1 = {}
L6_1.config_id = 2009
L6_1.monster_id = 21010501
L7_1 = {}
L7_1.x = 43.461
L7_1.y = 4.653
L7_1.z = -7.958
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L6_1.pose_id = 32
L7_1 = {}
L7_1.config_id = 2010
L7_1.monster_id = 21011001
L8_1 = {}
L8_1.x = 26.728
L8_1.y = 5.323
L8_1.z = 10.15
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 90.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.disableWander = true
L7_1.pose_id = 32
L8_1 = {}
L8_1.config_id = 2011
L8_1.monster_id = 21011001
L9_1 = {}
L9_1.x = 44.644
L9_1.y = 4.94
L9_1.z = 18.822
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 90.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 3
L8_1.disableWander = true
L8_1.pose_id = 32
L9_1 = {}
L9_1.config_id = 2012
L9_1.monster_id = 21011001
L10_1 = {}
L10_1.x = 43.582
L10_1.y = 0.626
L10_1.z = 9.602
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 90.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.disableWander = true
L9_1.pose_id = 32
L10_1 = {}
L10_1.config_id = 2013
L10_1.monster_id = 21010501
L11_1 = {}
L11_1.x = 28.21
L11_1.y = 4.147
L11_1.z = -8.166
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 65.3
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 3
L10_1.disableWander = true
L10_1.pose_id = 32
L11_1 = {}
L11_1.config_id = 2014
L11_1.monster_id = 21010401
L12_1 = {}
L12_1.x = 16.221
L12_1.y = 1.748
L12_1.z = -2.948
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 90.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.disableWander = true
L11_1.pose_id = 402
L12_1 = {}
L12_1.config_id = 2015
L12_1.monster_id = 21010401
L13_1 = {}
L13_1.x = 17.364
L13_1.y = 0.6
L13_1.z = -0.151
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 90.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.disableWander = true
L12_1.pose_id = 402
L13_1 = {}
L13_1.config_id = 2016
L13_1.monster_id = 21010901
L14_1 = {}
L14_1.x = 16.124
L14_1.y = 1.748
L14_1.z = 2.744
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 90.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.disableWander = true
L13_1.pose_id = 32
L14_1 = {}
L14_1.config_id = 2018
L14_1.monster_id = 21011001
L15_1 = {}
L15_1.x = 19.115
L15_1.y = 0.6
L15_1.z = 3.716
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 90.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.disableWander = true
L14_1.pose_id = 32
L15_1 = {}
L15_1.config_id = 2019
L15_1.monster_id = 21010901
L16_1 = {}
L16_1.x = 45.946
L16_1.y = 0.895
L16_1.z = 7.007
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 90.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 3
L15_1.disableWander = true
L15_1.pose_id = 32
L16_1 = {}
L16_1.config_id = 2020
L16_1.monster_id = 21010501
L17_1 = {}
L17_1.x = 36.231
L17_1.y = 0.509
L17_1.z = -3.016
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 90.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 3
L16_1.disableWander = true
L16_1.pose_id = 32
L17_1 = {}
L17_1.config_id = 2021
L17_1.monster_id = 21010401
L18_1 = {}
L18_1.x = 64.41
L18_1.y = 0.627
L18_1.z = 17.583
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 90.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.disableWander = true
L17_1.pose_id = 402
L18_1 = {}
L18_1.config_id = 2022
L18_1.monster_id = 21011001
L19_1 = {}
L19_1.x = 65.572
L19_1.y = 0.626
L19_1.z = 19.951
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 90.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.disableWander = true
L18_1.pose_id = 32
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2023
L2_1.gadget_id = 70350002
L3_1 = {}
L3_1.x = 6.244
L3_1.y = 2.74
L3_1.z = 0.472
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 90.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 2024
L3_1.gadget_id = 70900201
L4_1 = {}
L4_1.x = -82.486
L4_1.y = 30.083
L4_1.z = 37.32
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 2025
L4_1.gadget_id = 70710005
L5_1 = {}
L5_1.x = -38.4
L5_1.y = -2.762
L5_1.z = 2.5
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 2026
L5_1.gadget_id = 70710005
L6_1 = {}
L6_1.x = -70.3
L6_1.y = 11.0
L6_1.z = 10.983
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 2027
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 3.8
L7_1.y = 9.3
L7_1.z = 2.0
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 346.43
L7_1.y = 270.0
L7_1.z = 13.673
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 2028
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = -13.6
L8_1.y = 13.5
L8_1.z = 1.867
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 346.43
L8_1.y = 269.561
L8_1.z = 13.673
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 2029
L8_1.gadget_id = 70690001
L9_1 = {}
L9_1.x = -4.9
L9_1.y = 11.4
L9_1.z = 1.933
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 346.43
L9_1.y = 269.561
L9_1.z = 13.673
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 2030
L9_1.gadget_id = 70900201
L10_1 = {}
L10_1.x = 7.247
L10_1.y = 6.43
L10_1.z = 0.484
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 90.083
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 10.0
L3_1.y = 30.0
L3_1.z = 50.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = 86.652
L3_1.y = 3.882
L3_1.z = 0.275
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000001
L2_1.name = "ANY_MONSTER_DIE_1"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_1"
L3_1 = {}
L3_1.config_id = 1002001
L3_1.name = "ENTER_REGION_2001"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_2001"
L3_1.action = "action_EVENT_ENTER_REGION_2001"
L3_1.forbid_guest = false
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 2004
L5_1 = 2005
L6_1 = 2006
L7_1 = 2007
L8_1 = 2009
L9_1 = 2010
L10_1 = 2011
L11_1 = 2012
L12_1 = 2013
L13_1 = 2014
L14_1 = 2015
L15_1 = 2016
L16_1 = 2018
L17_1 = 2019
L18_1 = 2020
L19_1 = 2021
L20_1 = 2022
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 2023
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 2001
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_1"
L5_1 = "ENTER_REGION_2001"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCountByGroupId
  L3_2 = A0_2
  L4_2 = 201015002
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 2023
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2024
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2025
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2026
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2027
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2028
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2029
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 201015002
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 2030
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 2001 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_2001 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2030
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_2001 = L1_1
